import { Injectable } from '@angular/core';

@Injectable()
export class LoginService {
	constructor() {}
	toLogin(username: string, password: string) {
		if (username === 'admin' && password === '123456') {
			return true;
		}
		return false;
	}
}